#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<sys/types.h>
#include <sys/wait.h>

int main()
{
    // printf("begin exec\n");
    // execl("/usr/bin/ls","-ls","-l",NULL);
    // printf("exec end\n");

    char *env[] = {"HOME=/usr/home", "LOGNAME=home", NULL};
    execle("/usr/bin/ls", "ls", "-l", NULL, env);

    return 0;
}